package com.xci.platform.auth.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户角色关联
 */
@Data
public class UserRoleMapEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户主键
     */
    @NotBlank(message = "用户主键不能为空")
    private String userId;
  
    /**
     * 角色主键
     */
    @NotBlank(message = "角色主键不能为空")
    private String roleId;
  
}
